<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.contact_2bmates" CodeFile="contact_2bmates.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
	<tr>
		<td class="page_title"><asp:literal id="litTitle" runat=server>Contact us</asp:literal></td>
	</tr>
	<tr>
		<td class="main_table_border" vAlign="top" height="100%">
			<div class="content">
				<form id="Form1" method="post" runat="server">
					<table cellSpacing="1" cellPadding="0" width="100%" border="0" class="main_text_form">
						<tr>
							<td colSpan="2"><b><asp:literal id="litContactText" runat=server>Please let us know your queries, remarks and thoughts:</asp:literal></b></td>
						</tr>
						<tr>
							<td class="small" colSpan="2" height="10"><img src="images/spacer.gif" width="100%" height="1" class="spacer_color">
							</td>
						</tr>
						<tr>
							<td id="error" vAlign="top" align="left" colSpan="2"><asp:validationsummary id="ValidationSummary1" runat="server" Width="300px" DisplayMode="List" CssClass="val_summary" ForeColor="#F04C03" Height="32px"></asp:validationsummary></td>
						</tr>
						<tr>
							<td class="small">&nbsp;</td>
							<td class="small"><asp:label id="lblResultMessage" runat="server" CssClass="val_summary" Visible="False"> Thank you for contacting 2Bmates</asp:label><asp:label id="lblSendEmailErrorMessage" runat="server" cssclass="val_summary" visible="False"> Thank you for contacting 2Bmates</asp:label></td>
						</tr>
						<tr>
							<td vAlign="top" align="left" width="25%"><b><asp:Label id="lblName" runat=server>Your Name:</asp:label></b></td>
							<td vAlign="top" align="left"><asp:textbox id="txtName" runat="server" CssClass="mail_field" MaxLength="50"></asp:textbox></td>
						</tr>
						<tr>
							<td vAlign="top" align="left"><b><asp:label id="lblEmail" runat=server>Your Email:</asp:label></b></td>
							<td vAlign="top" align="left"><asp:textbox id="txtEmail" runat="server" CssClass="mail_field" MaxLength="50"></asp:textbox><asp:regularexpressionvalidator id="revTxtEmail" runat="server" Display="None" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
									ControlToValidate="txtEmail" ErrorMessage="Please enter a valid email"></asp:regularexpressionvalidator><asp:requiredfieldvalidator id="rvEmail" runat="server" Display="None" ControlToValidate="txtEmail" ErrorMessage="Please enter your email"></asp:requiredfieldvalidator></td>
						</tr>
						<tr>
							<td vAlign="top" align="left"><b><asp:label id="lblPhone" runat=server>Your Phone Number:</asp:label></b></td>
							<td vAlign="top" align="left"><asp:textbox id="txtPhone" runat="server" CssClass="mail_field" MaxLength="50"></asp:textbox><asp:regularexpressionvalidator id="revPhone" runat="server" Display="None" ValidationExpression="\d*" ControlToValidate="txtPhone"
									ErrorMessage="Your phone number should contain digits only"></asp:regularexpressionvalidator></td>
						</tr>
						<tr>
							<td vAlign="top" align="left"><b><asp:label id="lblSubject" runat=server>Subject:</asp:label></b></td>
							<td vAlign="top" align="left"><asp:textbox id="txtSubject" runat="server" CssClass="mail_field" MaxLength="50"></asp:textbox></td>
						</tr>
						<tr>
							<td vAlign="top" align="left" width="20%"><b><asp:label id="lblBody" runat=server>Body:</asp:label></b></td>
							<td vAlign="top" align="left"><asp:textbox id="txtBody" runat="server" CssClass="mail_field" MaxLength="1000" Rows="8" TextMode="MultiLine"></asp:textbox><asp:requiredfieldvalidator id="rvBody" runat="server" Display="None" ControlToValidate="txtBody" ErrorMessage="Please enter your remarks"></asp:requiredfieldvalidator></td>
						</tr>
						<tr>
							<td colSpan="2" height="5">&nbsp;</td>
						</tr>
						<tr>
							<td >&nbsp;</td>
							<td align="left"><asp:button id="btnSend" runat="server" CssClass="btn" Text="Submit"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnSend_Click"></asp:button><br /><br /></td>
						</tr>
					</table>
				</form>
			</div>
		</td>
	</tr>
</table>
